//
//  MCErrorManagement.h
//  MClient
//
//  Created by Zhouyi on 10-8-30.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface MCErrorManagement : NSObject<UIAlertViewDelegate> {

}

// 静态全局的改对象实例
+ (MCErrorManagement *)instance;

// 错误处理
- (void)doError:(NSString *)returnCode returnMessage:(NSString *)returnMessage;

// 对于按钮上的动作，无权限则显示提示信息
+ (BOOL)showAuthMessage:(NSDictionary *)button;
@end
